const regex = {
  username: /^[a-zA-Z0-9]{1,20}$/,
  email: /^\w+((-\w+)|(\.\w+))*@[A-Za-z0-9]+(([.\-])[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/,
  studentNumber: /^[0-9]{13}$/,
  mobile: /^1[0-9]{10}$/,
  password: /^(?=.*([a-zA-Z].*))(?=.*[0-9].*)[a-zA-Z0-9-_*/+.~=!@#$%^&()]{6,20}$/
}

export default regex
